package com.npjscg.medicalpro.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.npjscg.medicalpro.controller.dto.TemplateDTO;
import com.npjscg.medicalpro.entity.Template;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;
import java.util.Map;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author raote
 * @since 2022-06-28
 */
public interface ITemplateService extends IService<Template> {

    IPage selectPage(Page<Template> page, int adminid, String temname);

    Boolean newTemplate(Template template);

    void delete(int id);

    IPage selectAll(Page<Template> page, int uid, String temname);

    Map<String,Integer> getRateList(int id);

}
